home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / develop™ Technical Journal / develop Issue 14 code / Video Digitizing.sea / Video Digitizing / HackTV & softVdig / softVdig.h < prev    next >
MacBinary  |  1993-03-18  |  9.9 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Thu Mar 18 13:41:44 1993, modified Thu Mar 18 13:41:44 1993, creator Think C, type ASCII, 9380 bytes "softVdig.h" , at 0x2524 402 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 73 6f 66 74 56 64 | 69 67 2e 68 00 00 00 00 |..softVd|ig.h....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 24 a4 00 | 00 01 92 a7 ce 72 e8 a7 |.....$..|.....r..|
|00000060| ce 72 e8 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.r......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 5a 4f 00 00 |........|....ZO..|
|00000080| 2f 2a 0d 09 46 69 6c 65 | 3a 09 09 73 6f 66 74 56 |/*..File|:..softV|
|00000090| 64 69 67 2e 63 0d 0d 09 | 43 6f 6e 74 61 69 6e 73 |dig.c...|Contains|
|000000a0| 3a 09 53 6f 66 74 77 61 | 72 65 20 76 69 64 65 6f |:.Softwa|re video|
|000000b0| 20 64 69 67 69 74 7a 65 | 72 20 68 65 61 64 65 72 | digitze|r header|
|000000c0| 20 66 69 6c 65 20 28 63 | 6f 6e 73 74 61 6e 74 73 | file (c|onstants|
|000000d0| 2c 20 73 74 72 75 63 74 | 73 2c 20 70 72 6f 74 6f |, struct|s, proto|
|000000e0| 74 79 70 65 73 29 0d 0d | 09 57 72 69 74 74 65 6e |types)..|.Written|
|000000f0| 20 62 79 3a 09 50 65 74 | 65 72 20 48 6f 64 64 69 | by:.Pet|er Hoddi|
|00000100| 65 20 28 6d 6f 73 74 6c | 79 29 20 61 6e 64 20 43 |e (mostl|y) and C|
|00000110| 61 73 65 79 20 4b 69 6e | 67 20 61 6e 64 20 47 61 |asey Kin|g and Ga|
|00000120| 72 79 20 57 6f 6f 64 63 | 6f 63 6b 0d 09 0d 09 09 |ry Woodc|ock.....|
|00000130| 09 09 52 65 66 65 72 20 | 74 6f 20 64 65 76 65 6c |..Refer |to devel|
|00000140| 6f 70 20 49 73 73 75 65 | 20 31 33 2c 20 22 56 69 |op Issue| 13, "Vi|
|00000150| 64 65 6f 20 44 69 67 69 | 74 69 7a 69 6e 67 20 55 |deo Digi|tizing U|
|00000160| 6e 64 65 72 20 51 75 69 | 63 6b 54 69 6d 65 22 2c |nder Qui|ckTime",|
|00000170| 0d 09 09 09 09 66 6f 72 | 20 64 65 74 61 69 6c 73 |.....for| details|
|00000180| 20 6f 6e 20 74 68 69 73 | 20 63 6f 64 65 2e 0d 09 | on this| code...|
|00000190| 09 09 09 0d 09 09 09 09 | 54 68 69 73 20 63 6f 64 |........|This cod|
|000001a0| 65 20 72 65 71 75 69 72 | 65 73 20 51 75 69 63 6b |e requir|es Quick|
|000001b0| 54 69 6d 65 20 31 2e 35 | 2e 0d 0d 09 43 6f 70 79 |Time 1.5|....Copy|
|000001c0| 72 69 67 68 74 3a 09 a9 | 20 31 39 39 33 20 62 79 |right:..| 1993 by|
|000001d0| 20 41 70 70 6c 65 20 43 | 6f 6d 70 75 74 65 72 2c | Apple C|omputer,|
|000001e0| 20 49 6e 63 2e 0d 0d 09 | 43 68 61 6e 67 65 20 48 | Inc....|Change H|
|000001f0| 69 73 74 6f 72 79 20 28 | 6d 6f 73 74 20 72 65 63 |istory (|most rec|
|00000200| 65 6e 74 20 66 69 72 73 | 74 29 3a 0d 0d 2a 2f 0d |ent firs|t):..*/.|
|00000210| 0d 2f 2f 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.//-----|--------|
|00000220| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000230| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000240| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000250| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 2f 2f 20 69 6e |--------|--.// in|
|00000260| 63 6c 75 64 65 73 0d 0d | 23 69 66 6e 64 65 66 09 |cludes..|#ifndef.|
|00000270| 5f 53 4f 46 54 56 44 49 | 47 5f 0d 23 64 65 66 69 |_SOFTVDI|G_.#defi|
|00000280| 6e 65 09 5f 53 4f 46 54 | 56 44 49 47 5f 0d 0d 23 |ne._SOFT|VDIG_..#|
|00000290| 69 6e 63 6c 75 64 65 20 | 3c 43 6f 6d 70 6f 6e 65 |include |<Compone|
|000002a0| 6e 74 73 2e 68 3e 0d 23 | 69 6e 63 6c 75 64 65 20 |nts.h>.#|include |
|000002b0| 22 51 75 69 63 6b 54 69 | 6d 65 43 6f 6d 70 6f 6e |"QuickTi|meCompon|
|000002c0| 65 6e 74 73 2e 68 22 0d | 23 69 6e 63 6c 75 64 65 |ents.h".|#include|
|000002d0| 20 3c 51 44 4f 66 66 73 | 63 72 65 65 6e 2e 68 3e | <QDOffs|creen.h>|
|000002e0| 0d 0d 2f 2f 20 43 6f 6d | 6d 65 6e 74 20 6f 75 74 |..// Com|ment out|
|000002f0| 20 74 68 69 73 20 6c 69 | 6e 65 20 69 66 20 79 6f | this li|ne if yo|
|00000300| 75 20 61 72 65 20 62 75 | 69 6c 64 69 6e 67 20 61 |u are bu|ilding a|
|00000310| 20 73 74 61 6e 64 61 6c | 6f 6e 65 20 63 6f 6d 70 | standal|one comp|
|00000320| 6f 6e 65 6e 74 0d 23 64 | 65 66 69 6e 65 20 44 45 |onent.#d|efine DE|
|00000330| 42 55 47 5f 49 54 0d 0d | 23 69 66 64 65 66 20 44 |BUG_IT..|#ifdef D|
|00000340| 45 42 55 47 5f 49 54 0d | 70 61 73 63 61 6c 20 43 |EBUG_IT.|pascal C|
|00000350| 6f 6d 70 6f 6e 65 6e 74 | 52 65 73 75 6c 74 20 73 |omponent|Result s|
|00000360| 6f 66 74 56 64 69 67 20 | 28 43 6f 6d 70 6f 6e 65 |oftVdig |(Compone|
|00000370| 6e 74 50 61 72 61 6d 65 | 74 65 72 73 20 2a 70 61 |ntParame|ters *pa|
|00000380| 72 61 6d 73 2c 20 48 61 | 6e 64 6c 65 20 73 74 6f |rams, Ha|ndle sto|
|00000390| 72 61 67 65 29 3b 0d 43 | 6f 6d 70 6f 6e 65 6e 74 |rage);.C|omponent|
|000003a0| 20 52 65 67 69 73 74 65 | 72 53 6f 66 74 56 64 69 | Registe|rSoftVdi|
|000003b0| 67 28 76 6f 69 64 29 3b | 0d 23 65 6e 64 69 66 20 |g(void);|.#endif |
|000003c0| 44 45 42 55 47 5f 49 54 | 0d 0d 0d 2f 2f 20 63 6f |DEBUG_IT|...// co|
|000003d0| 6e 73 74 61 6e 74 73 20 | 77 68 69 63 68 20 64 65 |nstants |which de|
|000003e0| 66 69 6e 65 20 74 68 65 | 20 63 68 61 72 61 63 74 |fine the| charact|
|000003f0| 65 72 69 73 74 69 63 73 | 20 6f 66 20 74 68 69 73 |eristics| of this|
|00000400| 20 76 64 69 67 0d 2f 2f | 09 74 68 65 72 65 20 61 | vdig.//|.there a|
|00000410| 72 65 20 32 20 6f 74 68 | 65 72 20 67 6c 6f 62 61 |re 2 oth|er globa|
|00000420| 6c 20 63 6f 6e 74 72 6f | 6c 73 20 77 68 69 63 68 |l contro|ls which|
|00000430| 20 61 72 65 20 69 6e 69 | 74 69 61 6c 69 7a 65 64 | are ini|tialized|
|00000440| 20 69 6e 20 76 64 69 67 | 4f 70 65 6e 0d 2f 2f 09 | in vdig|Open.//.|
|00000450| 74 68 65 73 65 20 67 6c | 6f 62 61 6c 20 63 6f 6e |these gl|obal con|
|00000460| 74 72 6f 6c 73 20 61 72 | 65 20 67 41 74 74 61 63 |trols ar|e gAttac|
|00000470| 68 65 64 47 44 65 76 69 | 63 65 20 61 6e 64 20 67 |hedGDevi|ce and g|
|00000480| 41 75 78 42 75 66 66 65 | 72 52 65 63 74 0d 0d 23 |AuxBuffe|rRect..#|
|00000490| 64 65 66 69 6e 65 09 09 | 6b 4d 61 78 48 6f 72 4e |define..|kMaxHorN|
|000004a0| 54 53 43 49 6e 20 09 09 | 33 32 30 09 09 09 09 2f |TSCIn ..|320..../|
|000004b0| 2f 20 6d 61 70 73 20 74 | 6f 20 74 68 65 20 4d 61 |/ maps t|o the Ma|
|000004c0| 78 53 72 63 52 65 63 74 | 20 77 69 64 74 68 0d 23 |xSrcRect| width.#|
|000004d0| 64 65 66 69 6e 65 09 09 | 6b 4d 61 78 56 65 72 4e |define..|kMaxVerN|
|000004e0| 54 53 43 49 6e 20 09 09 | 32 34 30 09 09 09 09 2f |TSCIn ..|240..../|
|000004f0| 2f 20 6d 61 70 73 20 74 | 6f 20 74 68 65 20 4d 61 |/ maps t|o the Ma|
|00000500| 78 53 72 63 52 65 63 74 | 20 68 65 69 67 68 74 0d |xSrcRect| height.|
|00000510| 23 64 65 66 69 6e 65 09 | 09 6b 56 65 72 42 6c 61 |#define.|.kVerBla|
|00000520| 6e 6b 09 09 09 30 09 09 | 09 09 2f 2f 20 77 6f 75 |nk...0..|..// wou|
|00000530| 6c 64 20 6d 61 70 20 74 | 6f 20 56 65 72 42 6c 61 |ld map t|o VerBla|
|00000540| 6e 6b 52 65 63 74 2c 20 | 62 75 74 20 75 6e 75 73 |nkRect, |but unus|
|00000550| 65 64 20 68 65 72 65 0d | 23 64 65 66 69 6e 65 09 |ed here.|#define.|
|00000560| 09 67 4d 61 78 53 6f 66 | 74 56 64 69 67 43 6f 75 |.gMaxSof|tVdigCou|
|00000570| 6e 74 20 20 09 31 09 09 | 09 09 2f 2f 20 68 6f 77 |nt .1..|..// how|
|00000580| 20 6d 61 6e 79 20 63 61 | 6e 20 62 65 20 6f 70 65 | many ca|n be ope|
|00000590| 6e 20 61 74 20 6f 6e 63 | 65 0d 23 64 65 66 69 6e |n at onc|e.#defin|
|000005a0| 65 09 09 67 44 6f 65 73 | 44 65 70 74 68 73 20 20 |e..gDoes|Depths |
|000005b0| 09 09 30 09 09 09 09 2f | 2f 20 77 68 61 74 20 6f |..0..../|/ what o|
|000005c0| 75 74 70 75 74 20 64 65 | 70 74 68 20 63 61 6e 20 |utput de|pth can |
|000005d0| 74 68 65 20 64 65 76 69 | 63 65 20 6f 75 74 70 75 |the devi|ce outpu|
|000005e0| 74 20 74 6f 0d 23 64 65 | 66 69 6e 65 09 09 67 44 |t to.#de|fine..gD|
|000005f0| 6f 65 73 50 6c 61 79 74 | 68 72 75 20 20 09 09 66 |oesPlayt|hru ..f|
|00000600| 61 6c 73 65 09 09 09 2f | 2f 20 77 69 6c 6c 20 72 |alse.../|/ will r|
|00000610| 65 73 70 6f 6e 64 20 74 | 6f 20 56 44 53 65 74 50 |espond t|o VDSetP|
|00000620| 6c 61 79 54 68 72 75 4f | 6e 4f 66 66 0d 23 64 65 |layThruO|nOff.#de|
|00000630| 66 69 6e 65 09 09 67 48 | 61 73 41 75 78 42 75 66 |fine..gH|asAuxBuf|
|00000640| 66 65 72 20 20 09 09 66 | 61 6c 73 65 09 09 09 2f |fer ..f|alse.../|
|00000650| 2f 20 73 69 6d 75 6c 61 | 74 65 73 20 6c 6f 63 61 |/ simula|tes loca|
|00000660| 6c 20 62 75 66 66 65 72 | 69 6e 67 09 09 09 09 09 |l buffer|ing.....|
|00000670| 09 09 09 09 09 09 0d 23 | 64 65 66 69 6e 65 09 09 |.......#|define..|
|00000680| 67 41 75 78 44 65 70 74 | 68 20 20 09 09 09 31 36 |gAuxDept|h ...16|
|00000690| 09 09 09 09 2f 2f 20 66 | 6f 72 20 75 73 65 20 69 |....// f|or use i|
|000006a0| 6e 20 73 69 6d 75 6c 61 | 74 69 6e 67 20 6c 6f 63 |n simula|ting loc|
|000006b0| 61 6c 20 62 75 66 66 65 | 72 69 6e 67 09 09 09 09 |al buffe|ring....|
|000006c0| 09 09 09 0d 23 64 65 66 | 69 6e 65 09 09 67 43 61 |....#def|ine..gCa|
|000006d0| 6e 41 73 79 6e 63 20 09 | 09 09 74 72 75 65 09 09 |nAsync .|..true..|
|000006e0| 09 2f 2f 20 73 69 6d 75 | 6c 61 74 65 73 20 61 73 |.// simu|lates as|
|000006f0| 79 6e 63 20 67 72 61 62 | 20 63 61 70 61 62 69 6c |ync grab| capabil|
|00000700| 69 74 79 09 09 09 09 0d | 23 64 65 66 69 6e 65 09 |ity.....|#define.|
|00000710| 09 67 43 61 6e 43 6c 69 | 70 20 20 09 09 09 74 72 |.gCanCli|p ...tr|
|00000720| 75 65 09 09 09 2f 2f 20 | 63 6c 69 70 70 69 6e 67 |ue...// |clipping|
|00000730| 20 63 61 6e 20 62 65 20 | 61 70 70 6c 69 65 64 0d | can be |applied.|
|00000740| 23 64 65 66 69 6e 65 09 | 09 67 43 61 6e 53 63 61 |#define.|.gCanSca|
|00000750| 6c 65 20 20 09 09 09 74 | 72 75 65 09 09 09 2f 2f |le ...t|rue...//|
|00000760| 20 73 75 70 70 6f 72 74 | 73 20 73 74 72 65 74 63 | support|s stretc|
|00000770| 68 20 26 20 73 68 72 69 | 6e 6b 0d 23 64 65 66 69 |h & shri|nk.#defi|
|00000780| 6e 65 09 09 67 43 61 6e | 44 4d 41 20 20 09 09 09 |ne..gCan|DMA ...|
|00000790| 74 72 75 65 09 09 09 2f | 2f 20 73 69 6d 75 6c 61 |true.../|/ simula|
|000007a0| 74 65 73 20 74 68 65 20 | 22 67 6f 20 61 6e 79 77 |tes the |"go anyw|
|000007b0| 68 65 72 65 22 20 76 64 | 69 67 09 09 09 09 09 09 |here" vd|ig......|
|000007c0| 0d 23 64 65 66 69 6e 65 | 09 09 67 44 4d 41 44 65 |.#define|..gDMADe|
|000007d0| 70 74 68 73 20 20 09 09 | 31 36 20 7c 20 38 09 09 |pths ..|16 | 8..|
|000007e0| 09 2f 2f 20 64 65 70 74 | 68 73 20 74 68 61 74 20 |.// dept|hs that |
|000007f0| 44 4d 41 20 77 6f 72 6b | 73 09 09 09 09 0d 23 64 |DMA work|s.....#d|
|00000800| 65 66 69 6e 65 09 09 67 | 4d 61 78 48 65 69 67 68 |efine..g|MaxHeigh|
|00000810| 74 20 20 09 09 32 34 30 | 09 09 09 09 2f 2f 20 6d |t ..240|....// m|
|00000820| 61 78 69 6d 75 6d 20 73 | 63 61 6c 61 62 6c 65 20 |aximum s|calable |
|00000830| 68 65 69 67 68 74 0d 23 | 64 65 66 69 6e 65 09 09 |height.#|define..|
|00000840| 67 4d 61 78 57 69 64 74 | 68 20 20 09 09 09 33 32 |gMaxWidt|h ...32|
|00000850| 30 09 09 09 09 2f 2f 20 | 6d 61 78 69 6d 75 6d 20 |0....// |maximum |
|00000860| 73 63 61 6c 61 62 6c 65 | 20 77 69 64 74 68 0d 23 |scalable| width.#|
|00000870| 64 65 66 69 6e 65 09 09 | 67 4d 69 6e 48 65 69 67 |define..|gMinHeig|
|00000880| 68 74 20 20 09 09 31 30 | 09 09 09 09 2f 2f 20 6d |ht ..10|....// m|
|00000890| 69 6e 69 6d 75 6d 20 73 | 63 61 6c 61 62 6c 65 20 |inimum s|calable |
|000008a0| 68 65 69 67 68 74 0d 23 | 64 65 66 69 6e 65 09 09 |height.#|define..|
|000008b0| 67 4d 69 6e 57 69 64 74 | 68 20 20 09 09 09 31 30 |gMinWidt|h ...10|
|000008c0| 09 09 09 09 2f 2f 20 6d | 69 6e 69 6d 75 6d 20 73 |....// m|inimum s|
|000008d0| 63 61 6c 61 62 6c 65 20 | 77 69 64 74 68 0d 23 64 |calable |width.#d|
|000008e0| 65 66 69 6e 65 09 09 67 | 44 6f 65 73 46 72 61 6d |efine..g|DoesFram|
|000008f0| 65 52 61 74 65 20 20 09 | 66 61 6c 73 65 09 09 09 |eRate .|false...|
|00000900| 2f 2f 20 73 69 6d 75 6c | 61 74 65 73 20 63 6f 6e |// simul|ates con|
|00000910| 74 72 6f 6c 6c 61 62 6c | 65 20 66 72 61 6d 65 20 |trollabl|e frame |
|00000920| 72 61 74 65 20 67 72 61 | 62 73 0d 23 64 65 66 69 |rate gra|bs.#defi|
|00000930| 6e 65 09 09 67 56 69 64 | 65 6f 54 69 6d 65 53 63 |ne..gVid|eoTimeSc|
|00000940| 61 6c 65 20 20 09 32 39 | 39 37 09 09 09 0d 23 64 |ale .29|97....#d|
|00000950| 65 66 69 6e 65 09 09 67 | 44 6f 65 73 43 6f 6d 70 |efine..g|DoesComp|
|00000960| 72 65 73 73 20 20 09 09 | 66 61 6c 73 65 09 09 09 |ress ..|false...|
|00000970| 2f 2f 20 63 61 70 61 62 | 6c 65 20 6f 66 20 70 72 |// capab|le of pr|
|00000980| 6f 64 75 63 69 6e 67 20 | 63 6f 6d 70 72 65 73 73 |oducing |compress|
|00000990| 65 64 20 64 61 74 61 09 | 09 09 0d 23 64 65 66 69 |ed data.|...#defi|
|000009a0| 6e 65 09 09 67 4f 6e 6c | 79 44 6f 65 73 43 6f 6d |ne..gOnl|yDoesCom|
|000009b0| 70 72 65 73 73 20 20 09 | 66 61 6c 73 65 09 09 09 |press .|false...|
|000009c0| 2f 2f 20 63 61 6e 27 74 | 20 70 72 6f 76 69 64 65 |// can't| provide|
|000009d0| 20 69 6d 61 67 65 20 64 | 61 74 61 09 0d 23 64 65 | image d|ata..#de|
|000009e0| 66 69 6e 65 09 09 67 4f | 6e 6c 79 43 6f 6d 70 72 |fine..gO|nlyCompr|
|000009f0| 65 73 73 54 79 70 65 20 | 20 09 27 72 70 7a 61 27 |essType | .'rpza'|
|00000a00| 09 09 09 2f 2f 20 73 65 | 74 20 74 6f 20 7a 65 72 |...// se|t to zer|
|00000a10| 6f 20 74 6f 20 73 75 70 | 70 6f 72 74 20 61 6c 6c |o to sup|port all|
|00000a20| 20 63 6f 6d 70 72 65 73 | 73 69 6f 6e 20 74 79 70 | compres|sion typ|
|00000a30| 65 73 0d 0d 2f 2f 20 73 | 6f 66 74 76 64 69 67 20 |es..// s|oftvdig |
|00000a40| 67 6c 6f 62 61 6c 20 76 | 61 72 69 61 62 6c 65 73 |global v|ariables|
|00000a50| 0d 0d 74 79 70 65 64 65 | 66 20 73 74 72 75 63 74 |..typede|f struct|
|00000a60| 20 7b 0d 09 43 6f 6d 70 | 6f 6e 65 6e 74 49 6e 73 | {..Comp|onentIns|
|00000a70| 74 61 6e 63 65 09 73 65 | 6c 66 3b 09 09 09 09 09 |tance.se|lf;.....|
|00000a80| 2f 2f 20 74 68 69 73 20 | 69 6e 73 74 61 6e 63 65 |// this |instance|
|00000a90| 0d 09 6c 6f 6e 67 09 09 | 09 09 66 72 61 6d 65 4e |..long..|..frameN|
|00000aa0| 75 6d 62 65 72 3b 09 09 | 09 2f 2f 20 66 72 61 6d |umber;..|.// fram|
|00000ab0| 65 20 63 6f 75 6e 74 65 | 72 0d 09 47 57 6f 72 6c |e counte|r..GWorl|
|00000ac0| 64 50 74 72 09 09 09 74 | 65 6d 70 50 6f 72 74 3b |dPtr...t|empPort;|
|00000ad0| 09 09 09 09 2f 2f 20 75 | 73 65 20 66 6f 72 20 64 |....// u|se for d|
|00000ae0| 72 61 77 69 6e 67 20 73 | 69 6d 75 6c 61 74 65 64 |rawing s|imulated|
|00000af0| 20 76 69 64 65 6f 20 66 | 72 61 6d 65 73 0d 09 52 | video f|rames..R|
|00000b00| 65 63 74 09 09 09 09 6d | 61 78 53 72 63 52 65 63 |ect....m|axSrcRec|
|00000b10| 74 3b 09 09 09 09 2f 2f | 20 66 6f 72 20 56 44 47 |t;....//| for VDG|
|00000b20| 65 74 4d 61 78 53 72 63 | 52 65 63 74 0d 09 52 65 |etMaxSrc|Rect..Re|
|00000b30| 63 74 09 09 09 09 64 69 | 67 69 52 65 63 74 3b 09 |ct....di|giRect;.|
|00000b40| 09 09 09 2f 2f 20 70 61 | 72 74 20 6f 66 20 66 72 |...// pa|rt of fr|
|00000b50| 61 6d 65 20 74 6f 20 75 | 73 65 0d 09 42 6f 6f 6c |ame to u|se..Bool|
|00000b60| 65 61 6e 09 09 09 09 70 | 6c 61 79 54 68 72 75 4f |ean....p|layThruO|
|00000b70| 6e 3b 09 09 09 09 2f 2f | 20 64 72 61 77 20 64 75 |n;....//| draw du|
|00000b80| 72 69 6e 67 20 69 64 6c | 65 0d 09 52 65 63 74 20 |ring idl|e..Rect |
|00000b90| 09 09 09 09 70 6c 61 79 | 54 68 72 75 52 65 63 74 |....play|ThruRect|
|00000ba0| 3b 0d 09 50 69 78 4d 61 | 70 48 61 6e 64 6c 65 09 |;..PixMa|pHandle.|
|00000bb0| 09 70 6c 61 79 54 68 72 | 75 50 69 78 4d 61 70 3b |.playThr|uPixMap;|
|00000bc0| 0d 09 47 57 6f 72 6c 64 | 50 74 72 09 09 09 61 75 |..GWorld|Ptr...au|
|00000bd0| 78 42 75 66 66 65 72 3b | 09 09 09 09 2f 2f 20 74 |xBuffer;|....// t|
|00000be0| 68 65 20 61 75 78 62 75 | 66 66 65 72 2c 20 69 66 |he auxbu|ffer, if|
|00000bf0| 20 75 73 69 6e 67 20 6f | 6e 65 0d 09 4d 61 74 72 | using o|ne..Matr|
|00000c00| 69 78 52 65 63 6f 72 64 | 09 09 6d 61 74 72 69 78 |ixRecord|..matrix|
|00000c10| 3b 09 09 09 09 09 2f 2f | 20 64 69 73 70 6c 61 79 |;.....//| display|
|00000c20| 20 6d 61 74 72 69 78 0d | 09 52 67 6e 48 61 6e 64 | matrix.|.RgnHand|
|00000c30| 6c 65 09 09 09 63 6c 69 | 70 52 67 6e 3b 09 09 09 |le...cli|pRgn;...|
|00000c40| 09 2f 2f 20 63 75 72 72 | 65 6e 74 20 63 6c 69 70 |.// curr|ent clip|
|00000c50| 0d 09 50 6f 69 6e 74 09 | 09 09 09 63 6c 69 70 4f |..Point.|...clipO|
|00000c60| 72 69 67 69 6e 3b 09 09 | 09 09 2f 2f 20 74 6f 70 |rigin;..|..// top|
|00000c70| 20 6c 65 66 74 20 6f 66 | 20 64 69 73 70 6c 61 79 | left of| display|
|00000c80| 20 77 68 65 6e 20 63 6c | 69 70 20 73 65 74 0d 09 | when cl|ip set..|
|00000c90| 56 64 69 67 42 75 66 66 | 65 72 52 65 63 4c 69 73 |VdigBuff|erRecLis|
|00000ca0| 74 48 61 6e 64 6c 65 20 | 62 75 66 66 65 72 4c 69 |tHandle |bufferLi|
|00000cb0| 73 74 3b 09 09 09 2f 2f | 20 62 75 66 66 65 72 20 |st;...//| buffer |
|00000cc0| 6c 69 73 74 20 66 6f 72 | 20 61 73 79 6e 63 20 73 |list for| async s|
|00000cd0| 74 75 66 66 0d 09 73 68 | 6f 72 74 09 09 09 09 70 |tuff..sh|ort....p|
|00000ce0| 65 6e 64 69 6e 67 41 73 | 79 6e 63 42 75 66 66 65 |endingAs|yncBuffe|
|00000cf0| 72 3b 09 09 2f 2f 20 70 | 65 6e 64 69 6e 67 20 67 |r;..// p|ending g|
|00000d00| 72 61 62 20 72 65 71 75 | 65 73 74 2e 2e 2e 20 2d |rab requ|est... -|
|00000d10| 31 20 69 66 20 6e 6f 6e | 65 2e 0d 0d 09 2f 2f 20 |1 if non|e....// |
|00000d20| 63 6f 6d 70 72 65 73 73 | 65 64 20 73 6f 75 72 63 |compress|ed sourc|
|00000d30| 65 20 73 74 75 66 66 0d | 09 4f 53 54 79 70 65 09 |e stuff.|.OSType.|
|00000d40| 09 09 09 63 6f 6d 70 72 | 65 73 73 54 79 70 65 3b |...compr|essType;|
|00000d50| 0d 09 73 68 6f 72 74 09 | 09 09 09 63 6f 6d 70 72 |..short.|...compr|
|00000d60| 65 73 73 44 65 70 74 68 | 3b 0d 09 52 65 63 74 09 |essDepth|;..Rect.|
|00000d70| 09 09 09 63 6f 6d 70 72 | 65 73 73 52 65 63 74 3b |...compr|essRect;|
|00000d80| 0d 09 43 6f 64 65 63 51 | 09 09 09 09 73 70 61 74 |..CodecQ|....spat|
|00000d90| 69 61 6c 51 75 61 6c 69 | 74 79 3b 0d 09 43 6f 64 |ialQuali|ty;..Cod|
|00000da0| 65 63 51 09 09 09 09 74 | 65 6d 70 6f 72 61 6c 51 |ecQ....t|emporalQ|
|00000db0| 75 61 6c 69 74 79 3b 0d | 09 6c 6f 6e 67 09 09 09 |uality;.|.long...|
|00000dc0| 09 6b 65 79 46 72 61 6d | 65 52 61 74 65 3b 0d 09 |.keyFram|eRate;..|
|00000dd0| 49 6d 61 67 65 44 65 73 | 63 72 69 70 74 69 6f 6e |ImageDes|cription|
|00000de0| 48 61 6e 64 6c 65 09 64 | 65 73 63 3b 0d 09 50 74 |Handle.d|esc;..Pt|
|00000df0| 72 09 09 09 09 09 63 6f | 6d 70 72 65 73 73 42 75 |r.....co|mpressBu|
|00000e00| 66 66 65 72 3b 0d 09 47 | 57 6f 72 6c 64 50 74 72 |ffer;..G|WorldPtr|
|00000e10| 09 09 09 63 6f 6d 70 72 | 65 73 73 47 57 3b 0d 09 |...compr|essGW;..|
|00000e20| 42 6f 6f 6c 65 61 6e 09 | 09 09 09 66 6f 72 63 65 |Boolean.|...force|
|00000e30| 4b 65 79 46 72 61 6d 65 | 3b 0d 09 42 6f 6f 6c 65 |KeyFrame|;..Boole|
|00000e40| 61 6e 09 09 09 09 63 6f | 6d 70 72 65 73 73 4f 6e |an....co|mpressOn|
|00000e50| 3b 0d 09 49 6d 61 67 65 | 53 65 71 75 65 6e 63 65 |;..Image|Sequence|
|00000e60| 09 09 63 6f 6d 70 72 65 | 73 73 53 65 71 3b 0d 09 |..compre|ssSeq;..|
|00000e70| 54 69 6d 65 42 61 73 65 | 09 09 09 74 69 6d 65 42 |TimeBase|...timeB|
|00000e80| 61 73 65 3b 0d 09 54 69 | 6d 65 56 61 6c 75 65 09 |ase;..Ti|meValue.|
|00000e90| 09 09 6e 65 78 74 46 72 | 61 6d 65 54 69 6d 65 3b |..nextFr|ameTime;|
|00000ea0| 09 09 09 2f 2f 20 6e 65 | 78 74 20 74 69 6d 65 20 |...// ne|xt time |
|00000eb0| 69 66 20 64 6f 69 6e 67 | 20 66 72 61 6d 65 20 72 |if doing| frame r|
|00000ec0| 61 74 65 20 6c 69 6d 69 | 74 69 6e 67 0d 09 54 69 |ate limi|ting..Ti|
|00000ed0| 6d 65 56 61 6c 75 65 09 | 09 09 66 72 61 6d 65 54 |meValue.|..frameT|
|00000ee0| 69 6d 65 53 74 65 70 3b | 09 09 09 2f 2f 20 69 6e |imeStep;|...// in|
|00000ef0| 63 72 65 6d 65 6e 74 20 | 66 6f 72 20 73 74 65 70 |crement |for step|
|00000f00| 70 69 6e 67 2c 20 6e 6f | 6e 2d 7a 65 72 6f 20 6d |ping, no|n-zero m|
|00000f10| 65 61 6e 73 20 64 6f 20 | 6c 69 6d 69 74 69 6e 67 |eans do |limiting|
|00000f20| 0d 0d 09 2f 2f 20 6d 6f | 72 65 20 67 6c 6f 62 61 |...// mo|re globa|
|00000f30| 6c 73 0d 09 6c 6f 6e 67 | 09 09 09 09 69 6e 70 75 |ls..long|....inpu|
|00000f40| 74 43 75 72 72 65 6e 74 | 46 6c 61 67 73 3b 0d 09 |tCurrent|Flags;..|
|00000f50| 6c 6f 6e 67 09 09 09 09 | 6f 75 74 70 75 74 43 75 |long....|outputCu|
|00000f60| 72 72 65 6e 74 46 6c 61 | 67 73 3b 09 0d 09 75 6e |rrentFla|gs;...un|
|00000f70| 73 69 67 6e 65 64 20 73 | 68 6f 72 74 09 09 62 6c |signed s|hort..bl|
|00000f80| 61 63 6b 4c 65 76 65 6c | 3b 0d 09 75 6e 73 69 67 |ackLevel|;..unsig|
|00000f90| 6e 65 64 20 73 68 6f 72 | 74 09 09 77 68 69 74 65 |ned shor|t..white|
|00000fa0| 4c 65 76 65 6c 3b 0d 09 | 75 6e 73 69 67 6e 65 64 |Level;..|unsigned|
|00000fb0| 20 73 68 6f 72 74 09 09 | 62 72 69 67 68 74 6e 65 | short..|brightne|
|00000fc0| 73 73 3b 0d 09 75 6e 73 | 69 67 6e 65 64 20 73 68 |ss;..uns|igned sh|
|00000fd0| 6f 72 74 09 09 68 75 65 | 3b 0d 09 75 6e 73 69 67 |ort..hue|;..unsig|
|00000fe0| 6e 65 64 20 73 68 6f 72 | 74 09 09 73 61 74 75 72 |ned shor|t..satur|
|00000ff0| 61 74 69 6f 6e 3b 0d 09 | 75 6e 73 69 67 6e 65 64 |ation;..|unsigned|
|00001000| 20 73 68 6f 72 74 09 09 | 63 6f 6e 74 72 61 73 74 | short..|contrast|
|00001010| 3b 0d 09 75 6e 73 69 67 | 6e 65 64 20 73 68 6f 72 |;..unsig|ned shor|
|00001020| 74 09 09 73 68 61 72 70 | 6e 65 73 73 3b 0d 09 52 |t..sharp|ness;..R|
|00001030| 65 63 74 09 09 09 09 67 | 41 75 78 42 75 66 66 65 |ect....g|AuxBuffe|
|00001040| 72 52 65 63 74 3b 0d 09 | 47 44 48 61 6e 64 6c 65 |rRect;..|GDHandle|
|00001050| 09 09 09 67 41 74 74 61 | 63 68 65 64 47 44 65 76 |...gAtta|chedGDev|
|00001060| 69 63 65 3b 0d 0d 7d 20 | 76 64 69 67 47 6c 6f 62 |ice;..} |vdigGlob|
|00001070| 61 6c 73 52 65 63 6f 72 | 64 2c 20 2a 76 64 69 67 |alsRecor|d, *vdig|
|00001080| 47 6c 6f 62 61 6c 73 50 | 74 72 2c 20 2a 2a 76 64 |GlobalsP|tr, **vd|
|00001090| 69 67 47 6c 6f 62 61 6c | 73 3b 0d 0d 2f 2f 20 70 |igGlobal|s;..// p|
|000010a0| 72 6f 74 6f 74 79 70 65 | 73 20 74 68 61 74 20 6d |rototype|s that m|
|000010b0| 61 70 20 74 6f 20 56 44 | 20 41 50 49 20 63 61 6c |ap to VD| API cal|
|000010c0| 6c 73 0d 70 61 73 63 61 | 6c 20 43 6f 6d 70 6f 6e |ls.pasca|l Compon|
|000010d0| 65 6e 74 52 65 73 75 6c | 74 20 76 64 69 67 4f 70 |entResul|t vdigOp|
|000010e0| 65 6e 28 76 64 69 67 47 | 6c 6f 62 61 6c 73 20 73 |en(vdigG|lobals s|
|000010f0| 74 6f 72 61 67 65 2c 20 | 43 6f 6d 70 6f 6e 65 6e |torage, |Componen|
|00001100| 74 49 6e 73 74 61 6e 63 | 65 20 73 65 6c 66 29 3b |tInstanc|e self);|
|00001110| 0d 70 61 73 63 61 6c 20 | 43 6f 6d 70 6f 6e 65 6e |.pascal |Componen|
|00001120| 74 52 65 73 75 6c 74 20 | 76 64 69 67 43 6c 6f 73 |tResult |vdigClos|
|00001130| 65 28 76 64 69 67 47 6c | 6f 62 61 6c 73 20 73 74 |e(vdigGl|obals st|
|00001140| 6f 72 61 67 65 2c 20 43 | 6f 6d 70 6f 6e 65 6e 74 |orage, C|omponent|
|00001150| 49 6e 73 74 61 6e 63 65 | 20 73 65 6c 66 29 3b 0d |Instance| self);.|
|00001160| 70 61 73 63 61 6c 20 43 | 6f 6d 70 6f 6e 65 6e 74 |pascal C|omponent|
|00001170| 52 65 73 75 6c 74 20 76 | 64 69 67 43 61 6e 44 6f |Result v|digCanDo|
|00001180| 28 76 64 69 67 47 6c 6f | 62 61 6c 73 20 73 74 6f |(vdigGlo|bals sto|
|00001190| 72 61 67 65 2c 20 73 68 | 6f 72 74 20 66 74 6e 4e |rage, sh|ort ftnN|
|000011a0| 75 6d 62 65 72 29 3b 0d | 70 61 73 63 61 6c 20 43 |umber);.|pascal C|
|000011b0| 6f 6d 70 6f 6e 65 6e 74 | 52 65 73 75 6c 74 20 76 |omponent|Result v|
|000011c0| 64 69 67 56 65 72 73 69 | 6f 6e 28 76 64 69 67 47 |digVersi|on(vdigG|
|000011d0| 6c 6f 62 61 6c 73 20 73 | 74 6f 72 61 67 65 29 3b |lobals s|torage);|
|000011e0| 0d 0d 70 61 73 63 61 6c | 20 56 69 64 65 6f 44 69 |..pascal| VideoDi|
|000011f0| 67 69 74 69 7a 65 72 45 | 72 72 6f 72 20 76 64 69 |gitizerE|rror vdi|
|00001200| 67 47 65 74 4d 61 78 53 | 72 63 52 65 63 74 28 76 |gGetMaxS|rcRect(v|
|00001210| 64 69 67 47 6c 6f 62 61 | 6c 73 20 73 74 6f 72 61 |digGloba|ls stora|
|00001220| 67 65 2c 20 73 68 6f 72 | 74 20 69 6e 70 75 74 53 |ge, shor|t inputS|
|00001230| 74 64 2c 20 52 65 63 74 | 20 2a 6d 61 78 53 72 63 |td, Rect| *maxSrc|
|00001240| 52 65 63 74 29 3b 0d 70 | 61 73 63 61 6c 20 56 69 |Rect);.p|ascal Vi|
|00001250| 64 65 6f 44 69 67 69 74 | 69 7a 65 72 45 72 72 6f |deoDigit|izerErro|
|00001260| 72 20 76 64 69 67 47 65 | 74 41 63 74 69 76 65 53 |r vdigGe|tActiveS|
|00001270| 72 63 52 65 63 74 28 76 | 64 69 67 47 6c 6f 62 61 |rcRect(v|digGloba|
|00001280| 6c 73 20 73 74 6f 72 61 | 67 65 2c 20 73 68 6f 72 |ls stora|ge, shor|
|00001290| 74 20 69 6e 70 75 74 53 | 74 64 2c 20 52 65 63 74 |t inputS|td, Rect|
|000012a0| 20 2a 61 63 74 69 76 65 | 53 72 63 52 65 63 74 29 | *active|SrcRect)|
|000012b0| 3b 0d 70 61 73 63 61 6c | 20 56 69 64 65 6f 44 69 |;.pascal| VideoDi|
|000012c0| 67 69 74 69 7a 65 72 45 | 72 72 6f 72 20 76 64 69 |gitizerE|rror vdi|
|000012d0| 67 53 65 74 44 69 67 69 | 74 69 7a 65 72 52 65 63 |gSetDigi|tizerRec|
|000012e0| 74 28 76 64 69 67 47 6c | 6f 62 61 6c 73 20 73 74 |t(vdigGl|obals st|
|000012f0| 6f 72 61 67 65 2c 20 52 | 65 63 74 20 2a 64 69 67 |orage, R|ect *dig|
|00001300| 69 52 65 63 74 29 3b 0d | 70 61 73 63 61 6c 20 56 |iRect);.|pascal V|
|00001310| 69 64 65 6f 44 69 67 69 | 74 69 7a 65 72 45 72 72 |ideoDigi|tizerErr|
|00001320| 6f 72 20 76 64 69 67 47 | 65 74 44 69 67 69 74 69 |or vdigG|etDigiti|
|00001330| 7a 65 72 52 65 63 74 28 | 76 64 69 67 47 6c 6f 62 |zerRect(|vdigGlob|
|00001340| 61 6c 73 20 73 74 6f 72 | 61 67 65 2c 20 52 65 63 |als stor|age, Rec|
|00001350| 74 20 2a 64 69 67 69 52 | 65 63 74 29 3b 0d 70 61 |t *digiR|ect);.pa|
|00001360| 73 63 61 6c 20 56 69 64 | 65 6f 44 69 67 69 74 69 |scal Vid|eoDigiti|
|00001370| 7a 65 72 45 72 72 6f 72 | 20 76 64 69 67 55 73 65 |zerError| vdigUse|
|00001380| 54 68 69 73 43 4c 55 54 | 28 76 64 69 67 47 6c 6f |ThisCLUT|(vdigGlo|
|00001390| 62 61 6c 73 20 73 74 6f | 72 61 67 65 2c 20 43 54 |bals sto|rage, CT|
|000013a0| 61 62 48 61 6e 64 6c 65 | 20 63 6f 6c 6f 72 54 61 |abHandle| colorTa|
|000013b0| 62 6c 65 48 61 6e 64 6c | 65 29 3b 0d 70 61 73 63 |bleHandl|e);.pasc|
|000013c0| 61 6c 20 56 69 64 65 6f | 44 69 67 69 74 69 7a 65 |al Video|Digitize|
|000013d0| 72 45 72 72 6f 72 20 76 | 64 69 67 47 72 61 62 4f |rError v|digGrabO|
|000013e0| 6e 65 46 72 61 6d 65 28 | 76 64 69 67 47 6c 6f 62 |neFrame(|vdigGlob|
|000013f0| 61 6c 73 20 73 74 6f 72 | 61 67 65 29 3b 0d 70 61 |als stor|age);.pa|
|00001400| 73 63 61 6c 20 56 69 64 | 65 6f 44 69 67 69 74 69 |scal Vid|eoDigiti|
|00001410| 7a 65 72 45 72 72 6f 72 | 20 76 64 69 67 53 65 74 |zerError| vdigSet|
|00001420| 43 6f 6e 74 72 61 73 74 | 28 76 64 69 67 47 6c 6f |Contrast|(vdigGlo|
|00001430| 62 61 6c 73 20 73 74 6f | 72 61 67 65 2c 20 75 6e |bals sto|rage, un|
|00001440| 73 69 67 6e 65 64 20 73 | 68 6f 72 74 20 2a 63 6f |signed s|hort *co|
|00001450| 6e 74 72 61 73 74 29 3b | 0d 70 61 73 63 61 6c 20 |ntrast);|.pascal |
|00001460| 56 69 64 65 6f 44 69 67 | 69 74 69 7a 65 72 45 72 |VideoDig|itizerEr|
|00001470| 72 6f 72 20 76 64 69 67 | 53 65 74 48 75 65 28 76 |ror vdig|SetHue(v|
|00001480| 64 69 67 47 6c 6f 62 61 | 6c 73 20 73 74 6f 72 61 |digGloba|ls stora|
|00001490| 67 65 2c 20 75 6e 73 69 | 67 6e 65 64 20 73 68 6f |ge, unsi|gned sho|
|000014a0| 72 74 20 2a 68 75 65 29 | 3b 0d 70 61 73 63 61 6c |rt *hue)|;.pascal|
|000014b0| 20 56 69 64 65 6f 44 69 | 67 69 74 69 7a 65 72 45 | VideoDi|gitizerE|
|000014c0| 72 72 6f 72 20 76 64 69 | 67 53 65 74 42 72 69 67 |rror vdi|gSetBrig|
|000014d0| 68 74 6e 65 73 73 28 76 | 64 69 67 47 6c 6f 62 61 |htness(v|digGloba|
|000014e0| 6c 73 20 73 74 6f 72 61 | 67 65 2c 20 75 6e 73 69 |ls stora|ge, unsi|
|000014f0| 67 6e 65 64 20 73 68 6f | 72 74 20 2a 62 72 69 67 |gned sho|rt *brig|
|00001500| 68 74 6e 65 73 73 29 3b | 0d 70 61 73 63 61 6c 20 |htness);|.pascal |
|00001510| 56 69 64 65 6f 44 69 67 | 69 74 69 7a 65 72 45 72 |VideoDig|itizerEr|
|00001520| 72 6f 72 20 76 64 69 67 | 53 65 74 53 61 74 75 72 |ror vdig|SetSatur|
|00001530| 61 74 69 6f 6e 28 76 64 | 69 67 47 6c 6f 62 61 6c |ation(vd|igGlobal|
|00001540| 73 20 73 74 6f 72 61 67 | 65 2c 20 75 6e 73 69 67 |s storag|e, unsig|
|00001550| 6e 65 64 20 73 68 6f 72 | 74 20 2a 73 61 74 75 72 |ned shor|t *satur|
|00001560| 61 74 69 6f 6e 29 3b 0d | 70 61 73 63 61 6c 20 56 |ation);.|pascal V|
|00001570| 69 64 65 6f 44 69 67 69 | 74 69 7a 65 72 45 72 72 |ideoDigi|tizerErr|
|00001580| 6f 72 20 76 64 69 67 53 | 65 74 53 68 61 72 70 6e |or vdigS|etSharpn|
|00001590| 65 73 73 28 76 64 69 67 | 47 6c 6f 62 61 6c 73 20 |ess(vdig|Globals |
|000015a0| 73 74 6f 72 61 67 65 2c | 20 75 6e 73 69 67 6e 65 |storage,| unsigne|
|000015b0| 64 20 73 68 6f 72 74 20 | 2a 73 68 61 72 70 6e 65 |d short |*sharpne|
|000015c0| 73 73 29 3b 0d 70 61 73 | 63 61 6c 20 56 69 64 65 |ss);.pas|cal Vide|
|000015d0| 6f 44 69 67 69 74 69 7a | 65 72 45 72 72 6f 72 20 |oDigitiz|erError |
|000015e0| 76 64 69 67 53 65 74 42 | 6c 61 63 6b 4c 65 76 65 |vdigSetB|lackLeve|
|000015f0| 6c 28 76 64 69 67 47 6c | 6f 62 61 6c 73 20 73 74 |l(vdigGl|obals st|
|00001600| 6f 72 61 67 65 2c 20 75 | 6e 73 69 67 6e 65 64 20 |orage, u|nsigned |
|00001610| 73 68 6f 72 74 20 2a 62 | 6c 61 63 6b 4c 65 76 65 |short *b|lackLeve|
|00001620| 6c 29 3b 0d 70 61 73 63 | 61 6c 20 56 69 64 65 6f |l);.pasc|al Video|
|00001630| 44 69 67 69 74 69 7a 65 | 72 45 72 72 6f 72 20 76 |Digitize|rError v|
|00001640| 64 69 67 53 65 74 57 68 | 69 74 65 4c 65 76 65 6c |digSetWh|iteLevel|
|00001650| 28 76 64 69 67 47 6c 6f | 62 61 6c 73 20 73 74 6f |(vdigGlo|bals sto|
|00001660| 72 61 67 65 2c 20 75 6e | 73 69 67 6e 65 64 20 73 |rage, un|signed s|
|00001670| 68 6f 72 74 20 2a 77 68 | 69 74 65 4c 65 76 65 6c |hort *wh|iteLevel|
|00001680| 29 3b 0d 70 61 73 63 61 | 6c 20 56 69 64 65 6f 44 |);.pasca|l VideoD|
|00001690| 69 67 69 74 69 7a 65 72 | 45 72 72 6f 72 20 76 64 |igitizer|Error vd|
|000016a0| 69 67 47 65 74 43 6f 6e | 74 72 61 73 74 28 76 64 |igGetCon|trast(vd|
|000016b0| 69 67 47 6c 6f 62 61 6c | 73 20 73 74 6f 72 61 67 |igGlobal|s storag|
|000016c0| 65 2c 20 75 6e 73 69 67 | 6e 65 64 20 73 68 6f 72 |e, unsig|ned shor|
|000016d0| 74 20 2a 63 6f 6e 74 72 | 61 73 74 29 3b 0d 70 61 |t *contr|ast);.pa|
|000016e0| 73 63 61 6c 20 56 69 64 | 65 6f 44 69 67 69 74 69 |scal Vid|eoDigiti|
|000016f0| 7a 65 72 45 72 72 6f 72 | 20 76 64 69 67 47 65 74 |zerError| vdigGet|
|00001700| 48 75 65 28 76 64 69 67 | 47 6c 6f 62 61 6c 73 20 |Hue(vdig|Globals |
|00001710| 73 74 6f 72 61 67 65 2c | 20 75 6e 73 69 67 6e 65 |storage,| unsigne|
|00001720| 64 20 73 68 6f 72 74 20 | 2a 68 75 65 29 3b 0d 70 |d short |*hue);.p|
|00001730| 61 73 63 61 6c 20 56 69 | 64 65 6f 44 69 67 69 74 |ascal Vi|deoDigit|
|00001740| 69 7a 65 72 45 72 72 6f | 72 20 76 64 69 67 47 65 |izerErro|r vdigGe|
|00001750| 74 42 72 69 67 68 74 6e | 65 73 73 28 76 64 69 67 |tBrightn|ess(vdig|
|00001760| 47 6c 6f 62 61 6c 73 20 | 73 74 6f 72 61 67 65 2c |Globals |storage,|
|00001770| 20 75 6e 73 69 67 6e 65 | 64 20 73 68 6f 72 74 20 | unsigne|d short |
|00001780| 2a 62 72 69 67 68 74 6e | 65 73 73 29 3b 0d 70 61 |*brightn|ess);.pa|
|00001790| 73 63 61 6c 20 56 69 64 | 65 6f 44 69 67 69 74 69 |scal Vid|eoDigiti|
|000017a0| 7a 65 72 45 72 72 6f 72 | 20 76 64 69 67 47 65 74 |zerError| vdigGet|
|000017b0| 53 61 74 75 72 61 74 69 | 6f 6e 28 76 64 69 67 47 |Saturati|on(vdigG|
|000017c0| 6c 6f 62 61 6c 73 20 73 | 74 6f 72 61 67 65 2c 20 |lobals s|torage, |
|000017d0| 75 6e 73 69 67 6e 65 64 | 20 73 68 6f 72 74 20 2a |unsigned| short *|
|000017e0| 73 61 74 75 72 61 74 69 | 6f 6e 29 3b 0d 70 61 73 |saturati|on);.pas|
|000017f0| 63 61 6c 20 56 69 64 65 | 6f 44 69 67 69 74 69 7a |cal Vide|oDigitiz|
|00001800| 65 72 45 72 72 6f 72 20 | 76 64 69 67 47 65 74 53 |erError |vdigGetS|
|00001810| 68 61 72 70 6e 65 73 73 | 28 76 64 69 67 47 6c 6f |harpness|(vdigGlo|
|00001820| 62 61 6c 73 20 73 74 6f | 72 61 67 65 2c 20 75 6e |bals sto|rage, un|
|00001830| 73 69 67 6e 65 64 20 73 | 68 6f 72 74 20 2a 73 68 |signed s|hort *sh|
|00001840| 61 72 70 6e 65 73 73 29 | 3b 0d 70 61 73 63 61 6c |arpness)|;.pascal|
|00001850| 20 56 69 64 65 6f 44 69 | 67 69 74 69 7a 65 72 45 | VideoDi|gitizerE|
|00001860| 72 72 6f 72 20 76 64 69 | 67 47 65 74 42 6c 61 63 |rror vdi|gGetBlac|
|00001870| 6b 4c 65 76 65 6c 28 76 | 64 69 67 47 6c 6f 62 61 |kLevel(v|digGloba|
|00001880| 6c 73 20 73 74 6f 72 61 | 67 65 2c 20 75 6e 73 69 |ls stora|ge, unsi|
|00001890| 67 6e 65 64 20 73 68 6f | 72 74 20 2a 62 6c 61 63 |gned sho|rt *blac|
|000018a0| 6b 4c 65 76 65 6c 29 3b | 0d 70 61 73 63 61 6c 20 |kLevel);|.pascal |
|000018b0| 56 69 64 65 6f 44 69 67 | 69 74 69 7a 65 72 45 72 |VideoDig|itizerEr|
|000018c0| 72 6f 72 20 76 64 69 67 | 47 65 74 57 68 69 74 65 |ror vdig|GetWhite|
|000018d0| 4c 65 76 65 6c 28 76 64 | 69 67 47 6c 6f 62 61 6c |Level(vd|igGlobal|
|000018e0| 73 20 73 74 6f 72 61 67 | 65 2c 20 75 6e 73 69 67 |s storag|e, unsig|
|000018f0| 6e 65 64 20 73 68 6f 72 | 74 20 2a 77 68 69 74 65 |ned shor|t *white|
|00001900| 4c 65 76 65 6c 29 3b 0d | 70 61 73 63 61 6c 20 56 |Level);.|pascal V|
|00001910| 69 64 65 6f 44 69 67 69 | 74 69 7a 65 72 45 72 72 |ideoDigi|tizerErr|
|00001920| 6f 72 20 76 64 69 67 47 | 65 74 56 69 64 65 6f 44 |or vdigG|etVideoD|
|00001930| 65 66 61 75 6c 74 73 28 | 76 64 69 67 47 6c 6f 62 |efaults(|vdigGlob|
|00001940| 61 6c 73 20 73 74 6f 72 | 61 67 65 2c 0d 09 09 09 |als stor|age,....|
|00001950| 09 09 09 09 75 6e 73 69 | 67 6e 65 64 20 73 68 6f |....unsi|gned sho|
|00001960| 72 74 20 2a 62 6c 61 63 | 6b 4c 65 76 65 6c 2c 20 |rt *blac|kLevel, |
|00001970| 75 6e 73 69 67 6e 65 64 | 20 73 68 6f 72 74 20 2a |unsigned| short *|
|00001980| 77 68 69 74 65 4c 65 76 | 65 6c 2c 0d 09 09 09 09 |whiteLev|el,.....|
|00001990| 09 09 09 75 6e 73 69 67 | 6e 65 64 20 73 68 6f 72 |...unsig|ned shor|
|000019a0| 74 20 2a 62 72 69 67 68 | 74 6e 65 73 73 2c 20 75 |t *brigh|tness, u|
|000019b0| 6e 73 69 67 6e 65 64 20 | 73 68 6f 72 74 20 2a 68 |nsigned |short *h|
|000019c0| 75 65 2c 20 75 6e 73 69 | 67 6e 65 64 20 73 68 6f |ue, unsi|gned sho|
|000019d0| 72 74 20 2a 73 61 74 75 | 72 61 74 69 6f 6e 2c 0d |rt *satu|ration,.|
|000019e0| 09 09 09 09 09 09 09 75 | 6e 73 69 67 6e 65 64 20 |.......u|nsigned |
|000019f0| 73 68 6f 72 74 20 2a 63 | 6f 6e 74 72 61 73 74 2c |short *c|ontrast,|
|00001a00| 20 75 6e 73 69 67 6e 65 | 64 20 73 68 6f 72 74 20 | unsigne|d short |
|00001a10| 2a 73 68 61 72 70 6e 65 | 73 73 29 3b 0d 70 61 73 |*sharpne|ss);.pas|
|00001a20| 63 61 6c 20 56 69 64 65 | 6f 44 69 67 69 74 69 7a |cal Vide|oDigitiz|
|00001a30| 65 72 45 72 72 6f 72 20 | 76 64 69 67 47 65 74 4d |erError |vdigGetM|
|00001a40| 61 78 41 75 78 42 75 66 | 66 65 72 28 76 64 69 67 |axAuxBuf|fer(vdig|
|00001a50| 47 6c 6f 62 61 6c 73 20 | 73 74 6f 72 61 67 65 2c |Globals |storage,|
|00001a60| 20 50 69 78 4d 61 70 48 | 61 6e 64 6c 65 20 2a 70 | PixMapH|andle *p|
|00001a70| 6d 2c 20 52 65 63 74 20 | 2a 72 29 3b 0d 70 61 73 |m, Rect |*r);.pas|
|00001a80| 63 61 6c 20 56 69 64 65 | 6f 44 69 67 69 74 69 7a |cal Vide|oDigitiz|
|00001a90| 65 72 45 72 72 6f 72 20 | 76 64 69 67 47 65 74 44 |erError |vdigGetD|
|00001aa0| 69 67 69 74 69 7a 65 72 | 49 6e 66 6f 28 76 64 69 |igitizer|Info(vdi|
|00001ab0| 67 47 6c 6f 62 61 6c 73 | 20 73 74 6f 72 61 67 65 |gGlobals| storage|
|00001ac0| 2c 20 44 69 67 69 74 69 | 7a 65 72 49 6e 66 6f 20 |, Digiti|zerInfo |
|00001ad0| 2a 69 6e 66 6f 29 3b 0d | 70 61 73 63 61 6c 20 56 |*info);.|pascal V|
|00001ae0| 69 64 65 6f 44 69 67 69 | 74 69 7a 65 72 45 72 72 |ideoDigi|tizerErr|
|00001af0| 6f 72 20 76 64 69 67 47 | 65 74 43 75 72 72 65 6e |or vdigG|etCurren|
|00001b00| 74 46 6c 61 67 73 28 76 | 64 69 67 47 6c 6f 62 61 |tFlags(v|digGloba|
|00001b10| 6c 73 20 73 74 6f 72 61 | 67 65 2c 20 6c 6f 6e 67 |ls stora|ge, long|
|00001b20| 20 2a 69 6e 70 75 74 43 | 75 72 72 65 6e 74 46 6c | *inputC|urrentFl|
|00001b30| 61 67 2c 20 6c 6f 6e 67 | 20 2a 6f 75 74 70 75 74 |ag, long| *output|
|00001b40| 43 75 72 72 65 6e 74 46 | 6c 61 67 29 3b 0d 70 61 |CurrentF|lag);.pa|
|00001b50| 73 63 61 6c 20 56 69 64 | 65 6f 44 69 67 69 74 69 |scal Vid|eoDigiti|
|00001b60| 7a 65 72 45 72 72 6f 72 | 20 76 64 69 67 53 65 74 |zerError| vdigSet|
|00001b70| 50 6c 61 79 54 68 72 75 | 4f 6e 4f 66 66 28 76 64 |PlayThru|OnOff(vd|
|00001b80| 69 67 47 6c 6f 62 61 6c | 73 20 73 74 6f 72 61 67 |igGlobal|s storag|
|00001b90| 65 2c 20 73 68 6f 72 74 | 20 73 74 61 74 65 29 3b |e, short| state);|
|00001ba0| 0d 70 61 73 63 61 6c 20 | 56 69 64 65 6f 44 69 67 |.pascal |VideoDig|
|00001bb0| 69 74 69 7a 65 72 45 72 | 72 6f 72 20 76 64 69 67 |itizerEr|ror vdig|
|00001bc0| 53 65 74 50 6c 61 79 54 | 68 72 75 44 65 73 74 69 |SetPlayT|hruDesti|
|00001bd0| 6e 61 74 69 6f 6e 28 76 | 64 69 67 47 6c 6f 62 61 |nation(v|digGloba|
|00001be0| 6c 73 20 73 74 6f 72 61 | 67 65 2c 20 50 69 78 4d |ls stora|ge, PixM|
|00001bf0| 61 70 48 61 6e 64 6c 65 | 20 64 65 73 74 2c 20 52 |apHandle| dest, R|
|00001c00| 65 63 74 20 2a 64 65 73 | 74 52 65 63 74 2c 20 4d |ect *des|tRect, M|
|00001c10| 61 74 72 69 78 52 65 63 | 6f 72 64 20 2a 6d 2c 20 |atrixRec|ord *m, |
|00001c20| 52 67 6e 48 61 6e 64 6c | 65 20 6d 61 73 6b 29 3b |RgnHandl|e mask);|
|00001c30| 0d 70 61 73 63 61 6c 20 | 56 69 64 65 6f 44 69 67 |.pascal |VideoDig|
|00001c40| 69 74 69 7a 65 72 45 72 | 72 6f 72 20 76 64 69 67 |itizerEr|ror vdig|
|00001c50| 53 65 74 75 70 42 75 66 | 66 65 72 73 28 76 64 69 |SetupBuf|fers(vdi|
|00001c60| 67 47 6c 6f 62 61 6c 73 | 20 73 74 6f 72 61 67 65 |gGlobals| storage|
|00001c70| 2c 20 56 64 69 67 42 75 | 66 66 65 72 52 65 63 4c |, VdigBu|fferRecL|
|00001c80| 69 73 74 48 61 6e 64 6c | 65 20 62 75 66 66 65 72 |istHandl|e buffer|
|00001c90| 4c 69 73 74 29 3b 0d 70 | 61 73 63 61 6c 20 56 69 |List);.p|ascal Vi|
|00001ca0| 64 65 6f 44 69 67 69 74 | 69 7a 65 72 45 72 72 6f |deoDigit|izerErro|
|00001cb0| 72 20 76 64 69 67 50 72 | 65 66 6c 69 67 68 74 44 |r vdigPr|eflightD|
|00001cc0| 65 73 74 69 6e 61 74 69 | 6f 6e 28 76 64 69 67 47 |estinati|on(vdigG|
|00001cd0| 6c 6f 62 61 6c 73 20 73 | 74 6f 72 61 67 65 2c 20 |lobals s|torage, |
|00001ce0| 52 65 63 74 20 2a 64 69 | 67 69 74 69 7a 65 72 52 |Rect *di|gitizerR|
|00001cf0| 65 63 74 2c 20 50 69 78 | 4d 61 70 20 2a 2a 64 65 |ect, Pix|Map **de|
|00001d00| 73 74 2c 20 52 65 63 74 | 20 2a 64 65 73 74 52 65 |st, Rect| *destRe|
|00001d10| 63 74 2c 20 4d 61 74 72 | 69 78 52 65 63 6f 72 64 |ct, Matr|ixRecord|
|00001d20| 20 2a 6d 29 3b 0d 70 61 | 73 63 61 6c 20 56 69 64 | *m);.pa|scal Vid|
|00001d30| 65 6f 44 69 67 69 74 69 | 7a 65 72 45 72 72 6f 72 |eoDigiti|zerError|
|00001d40| 20 76 64 69 67 47 72 61 | 62 4f 6e 65 46 72 61 6d | vdigGra|bOneFram|
|00001d50| 65 41 73 79 6e 63 28 76 | 64 69 67 47 6c 6f 62 61 |eAsync(v|digGloba|
|00001d60| 6c 73 20 73 74 6f 72 61 | 67 65 2c 20 73 68 6f 72 |ls stora|ge, shor|
|00001d70| 74 20 62 75 66 66 65 72 | 29 3b 0d 70 61 73 63 61 |t buffer|);.pasca|
|00001d80| 6c 20 6c 6f 6e 67 09 76 | 64 69 67 44 6f 6e 65 28 |l long.v|digDone(|
|00001d90| 76 64 69 67 47 6c 6f 62 | 61 6c 73 20 73 74 6f 72 |vdigGlob|als stor|
|00001da0| 61 67 65 2c 20 73 68 6f | 72 74 20 62 75 66 66 65 |age, sho|rt buffe|
|00001db0| 72 29 3b 0d 70 61 73 63 | 61 6c 20 56 69 64 65 6f |r);.pasc|al Video|
|00001dc0| 44 69 67 69 74 69 7a 65 | 72 45 72 72 6f 72 20 76 |Digitize|rError v|
|00001dd0| 64 69 67 47 65 74 4e 75 | 6d 62 65 72 4f 66 49 6e |digGetNu|mberOfIn|
|00001de0| 70 75 74 73 28 76 64 69 | 67 47 6c 6f 62 61 6c 73 |puts(vdi|gGlobals|
|00001df0| 20 73 74 6f 72 61 67 65 | 2c 20 73 68 6f 72 74 20 | storage|, short |
|00001e00| 2a 69 6e 70 75 74 73 29 | 3b 0d 70 61 73 63 61 6c |*inputs)|;.pascal|
|00001e10| 20 56 69 64 65 6f 44 69 | 67 69 74 69 7a 65 72 45 | VideoDi|gitizerE|
|00001e20| 72 72 6f 72 20 76 64 69 | 67 47 65 74 49 6e 70 75 |rror vdi|gGetInpu|
|00001e30| 74 46 6f 72 6d 61 74 28 | 76 64 69 67 47 6c 6f 62 |tFormat(|vdigGlob|
|00001e40| 61 6c 73 20 73 74 6f 72 | 61 67 65 2c 20 73 68 6f |als stor|age, sho|
|00001e50| 72 74 20 69 6e 70 75 74 | 2c 20 73 68 6f 72 74 20 |rt input|, short |
|00001e60| 2a 66 6f 72 6d 61 74 29 | 3b 0d 70 61 73 63 61 6c |*format)|;.pascal|
|00001e70| 20 56 69 64 65 6f 44 69 | 67 69 74 69 7a 65 72 45 | VideoDi|gitizerE|
|00001e80| 72 72 6f 72 20 76 64 69 | 67 53 65 74 49 6e 70 75 |rror vdi|gSetInpu|
|00001e90| 74 28 76 64 69 67 47 6c | 6f 62 61 6c 73 20 73 74 |t(vdigGl|obals st|
|00001ea0| 6f 72 61 67 65 2c 20 73 | 68 6f 72 74 20 69 6e 70 |orage, s|hort inp|
|00001eb0| 75 74 29 3b 0d 70 61 73 | 63 61 6c 20 56 69 64 65 |ut);.pas|cal Vide|
|00001ec0| 6f 44 69 67 69 74 69 7a | 65 72 45 72 72 6f 72 20 |oDigitiz|erError |
|00001ed0| 76 64 69 67 47 65 74 49 | 6e 70 75 74 28 76 64 69 |vdigGetI|nput(vdi|
|00001ee0| 67 47 6c 6f 62 61 6c 73 | 20 73 74 6f 72 61 67 65 |gGlobals| storage|
|00001ef0| 2c 20 73 68 6f 72 74 20 | 2a 69 6e 70 75 74 29 3b |, short |*input);|
|00001f00| 0d 70 61 73 63 61 6c 20 | 56 69 64 65 6f 44 69 67 |.pascal |VideoDig|
|00001f10| 69 74 69 7a 65 72 45 72 | 72 6f 72 20 76 64 69 67 |itizerEr|ror vdig|
|00001f20| 53 65 74 43 6f 6d 70 72 | 65 73 73 69 6f 6e 28 76 |SetCompr|ession(v|
|00001f30| 64 69 67 47 6c 6f 62 61 | 6c 73 20 73 74 6f 72 61 |digGloba|ls stora|
|00001f40| 67 65 2c 20 4f 53 54 79 | 70 65 20 63 6f 6d 70 72 |ge, OSTy|pe compr|
|00001f50| 65 73 73 54 79 70 65 2c | 20 73 68 6f 72 74 20 64 |essType,| short d|
|00001f60| 65 70 74 68 2c 20 52 65 | 63 74 20 2a 62 6f 75 6e |epth, Re|ct *boun|
|00001f70| 64 73 2c 0d 09 09 09 43 | 6f 64 65 63 51 20 73 70 |ds,....C|odecQ sp|
|00001f80| 61 74 69 61 6c 51 75 61 | 6c 69 74 79 2c 20 43 6f |atialQua|lity, Co|
|00001f90| 64 65 63 51 20 74 65 6d | 70 6f 72 61 6c 51 75 61 |decQ tem|poralQua|
|00001fa0| 6c 69 74 79 2c 20 6c 6f | 6e 67 20 6b 65 79 46 72 |lity, lo|ng keyFr|
|00001fb0| 61 6d 65 52 61 74 65 29 | 3b 0d 70 61 73 63 61 6c |ameRate)|;.pascal|
|00001fc0| 20 56 69 64 65 6f 44 69 | 67 69 74 69 7a 65 72 45 | VideoDi|gitizerE|
|00001fd0| 72 72 6f 72 20 76 64 69 | 67 43 6f 6d 70 72 65 73 |rror vdi|gCompres|
|00001fe0| 73 4f 6e 65 46 72 61 6d | 65 41 73 79 6e 63 28 76 |sOneFram|eAsync(v|
|00001ff0| 64 69 67 47 6c 6f 62 61 | 6c 73 20 73 74 6f 72 61 |digGloba|ls stora|
|00002000| 67 65 29 3b 0d 70 61 73 | 63 61 6c 20 56 69 64 65 |ge);.pas|cal Vide|
|00002010| 6f 44 69 67 69 74 69 7a | 65 72 45 72 72 6f 72 20 |oDigitiz|erError |
|00002020| 76 64 69 67 43 6f 6d 70 | 72 65 73 73 44 6f 6e 65 |vdigComp|ressDone|
|00002030| 28 76 64 69 67 47 6c 6f | 62 61 6c 73 20 73 74 6f |(vdigGlo|bals sto|
|00002040| 72 61 67 65 2c 20 42 6f | 6f 6c 65 61 6e 20 2a 64 |rage, Bo|olean *d|
|00002050| 6f 6e 65 2c 20 50 74 72 | 20 2a 74 68 65 44 61 74 |one, Ptr| *theDat|
|00002060| 61 2c 20 6c 6f 6e 67 20 | 2a 64 61 74 61 53 69 7a |a, long |*dataSiz|
|00002070| 65 2c 20 75 6e 73 69 67 | 6e 65 64 20 63 68 61 72 |e, unsig|ned char|
|00002080| 20 2a 73 69 6d 69 6c 61 | 72 69 74 79 2c 20 54 69 | *simila|rity, Ti|
|00002090| 6d 65 52 65 63 6f 72 64 | 20 2a 74 72 29 3b 0d 70 |meRecord| *tr);.p|
|000020a0| 61 73 63 61 6c 20 56 69 | 64 65 6f 44 69 67 69 74 |ascal Vi|deoDigit|
|000020b0| 69 7a 65 72 45 72 72 6f | 72 20 76 64 69 67 52 65 |izerErro|r vdigRe|
|000020c0| 6c 65 61 73 65 43 6f 6d | 70 72 65 73 73 42 75 66 |leaseCom|pressBuf|
|000020d0| 66 65 72 28 76 64 69 67 | 47 6c 6f 62 61 6c 73 20 |fer(vdig|Globals |
|000020e0| 73 74 6f 72 61 67 65 2c | 20 50 74 72 20 74 68 65 |storage,| Ptr the|
|000020f0| 42 75 66 66 66 65 72 29 | 3b 0d 70 61 73 63 61 6c |Bufffer)|;.pascal|
|00002100| 20 56 69 64 65 6f 44 69 | 67 69 74 69 7a 65 72 45 | VideoDi|gitizerE|
|00002110| 72 72 6f 72 20 76 64 69 | 67 47 65 74 49 6d 61 67 |rror vdi|gGetImag|
|00002120| 65 44 65 73 63 72 69 70 | 74 69 6f 6e 28 76 64 69 |eDescrip|tion(vdi|
|00002130| 67 47 6c 6f 62 61 6c 73 | 20 73 74 6f 72 61 67 65 |gGlobals| storage|
|00002140| 2c 20 49 6d 61 67 65 44 | 65 73 63 72 69 70 74 69 |, ImageD|escripti|
|00002150| 6f 6e 48 61 6e 64 6c 65 | 20 64 65 73 63 29 3b 0d |onHandle| desc);.|
|00002160| 70 61 73 63 61 6c 20 56 | 69 64 65 6f 44 69 67 69 |pascal V|ideoDigi|
|00002170| 74 69 7a 65 72 45 72 72 | 6f 72 20 76 64 69 67 52 |tizerErr|or vdigR|
|00002180| 65 73 65 74 43 6f 6d 70 | 72 65 73 73 53 65 71 75 |esetComp|ressSequ|
|00002190| 65 6e 63 65 28 76 64 69 | 67 47 6c 6f 62 61 6c 73 |ence(vdi|gGlobals|
|000021a0| 20 73 74 6f 72 61 67 65 | 29 3b 0d 70 61 73 63 61 | storage|);.pasca|
|000021b0| 6c 20 56 69 64 65 6f 44 | 69 67 69 74 69 7a 65 72 |l VideoD|igitizer|
|000021c0| 45 72 72 6f 72 20 76 64 | 69 67 53 65 74 43 6f 6d |Error vd|igSetCom|
|000021d0| 70 72 65 73 73 69 6f 6e | 4f 6e 4f 66 66 28 76 64 |pression|OnOff(vd|
|000021e0| 69 67 47 6c 6f 62 61 6c | 73 20 73 74 6f 72 61 67 |igGlobal|s storag|
|000021f0| 65 2c 20 42 6f 6f 6c 65 | 61 6e 20 6e 65 77 53 74 |e, Boole|an newSt|
|00002200| 61 74 65 29 3b 0d 70 61 | 73 63 61 6c 20 56 69 64 |ate);.pa|scal Vid|
|00002210| 65 6f 44 69 67 69 74 69 | 7a 65 72 45 72 72 6f 72 |eoDigiti|zerError|
|00002220| 20 76 64 69 67 47 65 74 | 43 6f 6d 70 72 65 73 73 | vdigGet|Compress|
|00002230| 69 6f 6e 54 79 70 65 73 | 28 76 64 69 67 47 6c 6f |ionTypes|(vdigGlo|
|00002240| 62 61 6c 73 20 73 74 6f | 72 61 67 65 2c 20 56 44 |bals sto|rage, VD|
|00002250| 43 6f 6d 70 72 65 73 73 | 69 6f 6e 4c 69 73 74 48 |Compress|ionListH|
|00002260| 61 6e 64 6c 65 20 68 29 | 3b 0d 70 61 73 63 61 6c |andle h)|;.pascal|
|00002270| 20 56 69 64 65 6f 44 69 | 67 69 74 69 7a 65 72 45 | VideoDi|gitizerE|
|00002280| 72 72 6f 72 20 76 64 69 | 67 53 65 74 54 69 6d 65 |rror vdi|gSetTime|
|00002290| 42 61 73 65 28 76 64 69 | 67 47 6c 6f 62 61 6c 73 |Base(vdi|gGlobals|
|000022a0| 20 73 74 6f 72 61 67 65 | 2c 20 54 69 6d 65 42 61 | storage|, TimeBa|
|000022b0| 73 65 20 74 29 3b 0d 70 | 61 73 63 61 6c 20 56 69 |se t);.p|ascal Vi|
|000022c0| 64 65 6f 44 69 67 69 74 | 69 7a 65 72 45 72 72 6f |deoDigit|izerErro|
|000022d0| 72 20 76 64 69 67 53 65 | 74 46 72 61 6d 65 52 61 |r vdigSe|tFrameRa|
|000022e0| 74 65 28 76 64 69 67 47 | 6c 6f 62 61 6c 73 20 73 |te(vdigG|lobals s|
|000022f0| 74 6f 72 61 67 65 2c 20 | 46 69 78 65 64 20 66 72 |torage, |Fixed fr|
|00002300| 61 6d 65 73 50 65 72 53 | 65 63 6f 6e 64 29 3b 0d |amesPerS|econd);.|
|00002310| 70 61 73 63 61 6c 20 56 | 69 64 65 6f 44 69 67 69 |pascal V|ideoDigi|
|00002320| 74 69 7a 65 72 45 72 72 | 6f 72 20 76 64 69 67 47 |tizerErr|or vdigG|
|00002330| 65 74 44 4d 41 44 65 70 | 74 68 73 28 76 64 69 67 |etDMADep|ths(vdig|
|00002340| 47 6c 6f 62 61 6c 73 20 | 73 74 6f 72 61 67 65 2c |Globals |storage,|
|00002350| 20 6c 6f 6e 67 20 2a 64 | 65 70 74 68 41 72 72 61 | long *d|epthArra|
|00002360| 79 2c 20 6c 6f 6e 67 20 | 2a 70 72 65 66 65 72 72 |y, long |*preferr|
|00002370| 65 64 44 65 70 74 68 29 | 3b 0d 70 61 73 63 61 6c |edDepth)|;.pascal|
|00002380| 20 56 69 64 65 6f 44 69 | 67 69 74 69 7a 65 72 45 | VideoDi|gitizerE|
|00002390| 72 72 6f 72 20 76 64 69 | 67 47 65 74 50 72 65 66 |rror vdi|gGetPref|
|000023a0| 65 72 72 65 64 54 69 6d | 65 53 63 61 6c 65 28 76 |erredTim|eScale(v|
|000023b0| 64 69 67 47 6c 6f 62 61 | 6c 73 20 73 74 6f 72 61 |digGloba|ls stora|
|000023c0| 67 65 2c 20 54 69 6d 65 | 53 63 61 6c 65 20 2a 70 |ge, Time|Scale *p|
|000023d0| 72 65 66 65 72 72 65 64 | 29 3b 0d 0d 2f 2f 20 70 |referred|);..// p|
|000023e0| 72 6f 74 6f 74 79 70 65 | 73 20 66 6f 72 20 75 74 |rototype|s for ut|
|000023f0| 69 6c 69 74 79 20 66 75 | 6e 63 74 69 6f 6e 73 0d |ility fu|nctions.|
|00002400| 76 6f 69 64 20 6d 61 6b | 65 4f 66 66 73 63 72 65 |void mak|eOffscre|
|00002410| 65 6e 28 76 64 69 67 47 | 6c 6f 62 61 6c 73 20 73 |en(vdigG|lobals s|
|00002420| 74 6f 72 61 67 65 29 3b | 0d 76 6f 69 64 20 74 6f |torage);|.void to|
|00002430| 73 73 4f 66 66 73 63 72 | 65 65 6e 28 76 64 69 67 |ssOffscr|een(vdig|
|00002440| 47 6c 6f 62 61 6c 73 20 | 73 74 6f 72 61 67 65 29 |Globals |storage)|
|00002450| 3b 0d 76 6f 69 64 20 64 | 72 61 77 56 69 64 65 6f |;.void d|rawVideo|
|00002460| 46 72 61 6d 65 28 76 64 | 69 67 47 6c 6f 62 61 6c |Frame(vd|igGlobal|
|00002470| 73 20 73 74 6f 72 61 67 | 65 2c 20 50 6f 69 6e 74 |s storag|e, Point|
|00002480| 20 77 68 65 72 65 2c 20 | 50 69 78 4d 61 70 48 61 | where, |PixMapHa|
|00002490| 6e 64 6c 65 20 64 65 73 | 74 50 69 78 4d 61 70 29 |ndle des|tPixMap)|
|000024a0| 3b 0d 42 6f 6f 6c 65 61 | 6e 20 76 61 6c 69 64 61 |;.Boolea|n valida|
|000024b0| 74 65 50 69 78 4d 61 70 | 28 76 64 69 67 47 6c 6f |tePixMap|(vdigGlo|
|000024c0| 62 61 6c 73 20 73 74 6f | 72 61 67 65 2c 20 50 69 |bals sto|rage, Pi|
|000024d0| 78 4d 61 70 48 61 6e 64 | 6c 65 20 70 29 3b 0d 76 |xMapHand|le p);.v|
|000024e0| 6f 69 64 20 74 6f 73 73 | 43 6f 6d 70 72 65 73 73 |oid toss|Compress|
|000024f0| 53 74 75 66 66 28 76 64 | 69 67 47 6c 6f 62 61 6c |Stuff(vd|igGlobal|
|00002500| 73 20 73 74 6f 72 61 67 | 65 29 3b 0d 0d 23 65 6e |s storag|e);..#en|
|00002510| 64 69 66 20 5f 4d 41 54 | 48 43 4f 4d 50 4f 4e 45 |dif _MAT|HCOMPONE|
|00002520| 4e 54 5f 0d 00 00 00 00 | 00 00 00 00 00 00 00 00 |NT_.....|........|
|00002530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002580| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 46 |.......L|...L...F|
|00002590| 72 75 63 74 20 4d 65 6e | 75 49 6e 66 6f 20 4d 65 |ruct Men|uInfo Me|
|000025a0| 6e 75 49 6e 66 6f 3b 0d | 74 79 70 65 64 65 66 20 |nuInfo;.|typedef |
|000025b0| 0a 73 6f 66 74 56 64 69 | 67 2e 68 00 02 00 00 00 |.softVdi|g.h.....|
|000025c0| 54 45 58 54 4b 41 48 4c | 01 00 00 68 00 40 00 00 |TEXTKAHL|...h.@..|
|000025d0| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 00 68 00 40 |..TEXTKA|HL...h.@|
|000025e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025f0| 00 00 a7 af 06 91 00 00 | 24 a4 00 00 01 92 20 49 |........|$..... I|
|00002600| 44 20 3d 20 30 20 69 73 | 20 74 68 65 20 6d 65 6e |D = 0 is| the men|
|00002610| 75 20 62 61 72 2a 2f 0d | 20 73 68 6f 72 74 20 6d |u bar*/.| short m|
|00002620| 63 74 49 74 65 6d 3b 09 | 09 09 2f 2a 6d 65 6e 75 |ctItem;.|../*menu|
|00002630| 20 49 74 65 6d 2e 20 49 | 74 65 6d 20 3d 20 30 20 | Item. I|tem = 0 |
|00002640| 69 73 20 61 20 74 69 74 | 6c 65 2a 2f 0d 20 52 47 |is a tit|le*/. RG|
|00002650| 42 43 6f 6c 6f 72 20 6d | 63 74 52 47 42 31 3b 09 |BColor m|ctRGB1;.|
|00002660| 09 2f 2a 75 73 61 67 65 | 20 64 65 70 65 6e 64 73 |./*usage| depends|
|00002670| 20 6f 6e 20 49 44 20 61 | 6e 64 20 49 74 65 6d 2a | on ID a|nd Item*|
|00002680| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00002690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026a0| 00 00 00 00 00 00 00 06 | 00 04 00 ed 00 dd 02 a1 |........|........|
|000026b0| 03 57 00 ed 00 dd 02 a1 | 03 57 a7 cc fc ff 00 00 |.W......|.W......|
|000026c0| 02 bc 00 00 02 bc 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|000026d0| 00 00 01 4c 00 00 00 4c | 00 00 00 46 00 3f f1 dc |...L...L|...F.?..|
|000026e0| 07 b8 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|000026f0| 00 0a 03 ed 00 00 00 00 | 00 00 00 3f f1 24 13 43 |........|...?.$.C|
|00002700| 72 65 61 74 65 64 20 62 | 79 20 43 4d 61 73 74 65 |reated b|y CMaste|
|00002710| 72 aa 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|00002720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+